home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
United Public Domain Gold 4
/
United Public Domain Gold 4.iso
/
fredfish
/
ff.0013.dms
/
ff.0013.adf
/
amgseq1.bas
< prev
next >
Wrap
BASIC Source File
|
1986-02-21
|
425b
|
12 lines
10 rem read/print seq file/Earl Hamner/Nov 85
20 scnclr:print"READ SEQUENTIAL FILE"
30 print:print"Use CTRL-D to start/stop screen listing"
40 print:input"Name of seq file:";a$
50 print:input"Send to printer <y/n>";b$
60 if b$="y" then open "O",#2,"prt:"
70 open "I",#1,a$
80 while not eof (1)
90 line input #1, a$: print a$
100 if b$="y" then print #2, a$
110 wend:close #1:close #2